module lang.d.sts.expressions.ddotidexpression;

import lang.d.sts.expressions.ddotexpression;
import lang.d.sts.expressions.dexpression;
import lang.d.sts.expressions.didentifierexpression;
import lang.d.visitors.dvisitor;

class DDotIdExpression: DDotExpression {
    private DIdentifierExpression myIdentifier;

    override public this(DExpression expr) {
        super(expr);
    }

    public void setIdentifier(DIdentifierExpression identifier) {
        myIdentifier = identifier;
        identifier.setParent(this);
    }

    override public void accept(DVisitor visitor) {
        visitor.visitDotIdExpression(this);
    }
}
